import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NavComponent } from './navigation.component';
import { RouterModule } from '@angular/router';
import { MenuRoutePipe } from './navigation.pipe';
import { SearchModule } from '../../shared/components/search/search.module';
import { PipesModule } from '../../shared/pipes/pipes.module';
import { AccountModule } from '../account/account.module';
import { ModalModule } from '../../shared/components/modal/modal.module';

/**
 * Navigation module
 *
 * Author: Sorin Spiru
 * Date: 13.01.2018
 */
@NgModule({
    imports:[
        CommonModule,
        RouterModule,
        SearchModule,
        PipesModule,
        AccountModule,
        ModalModule
    ],
    declarations: [
        NavComponent,
        MenuRoutePipe
    ],
    exports:[
        NavComponent,
        MenuRoutePipe
    ]
})
export class NavModule { }
